<template>
  <div class="content">
    <mt-header fixed title="设备列表">
      <mt-button @click.native="add()" slot="right">
        <img :src="addImg" height="25" width="25" slot="icon">
      </mt-button>
    </mt-header>
    <equipment></equipment>
  </div>
</template>
<script>
import equipment from '@/component/equipment.vue'
export default {
  data () {
    return {
      addImg: require('@/assets/image/add.svg')
    }
  },
  components: {
    equipment
  },
  methods: {
    add () {
      this.$router.push('/category')
    }
  }
}
</script>
<style lang="less" scoped>
.content {
	padding-top: 40px;
}
</style>
